package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

/**
 * table --> mmd_order_logistics
 * remarks --> 订单物流信息表
 * columns --> orderNo,logistics,logisticsNo,logisticsCompanyCode,logisticsCompanyName,createTime,updateTime
 */
@ApiModel(value = "mmd_order_logistics",description = "订单物流信息表")
public class MmdOrderLogistics implements Serializable {
    /**
     * orderNo
     * 订单号
     */
    @ApiModelProperty(value="orderNo",name="订单号")
    private String orderNo;

    /**
     * logistics
     * 物流记录
     */
    @ApiModelProperty(value="logistics",name="物流记录")
    private String logistics;

    /**
     * logisticsNo
     * 物流单号
     */
    @ApiModelProperty(value="logisticsNo",name="物流单号")
    private String logisticsNo;

    /**
     * logisticsCompanyCode
     * 物流公司编码
     */
    @ApiModelProperty(value="logisticsCompanyCode",name="物流公司编码")
    private String logisticsCompanyCode;

    /**
     * logisticsCompanyName
     * 物流公司名称
     */
    @ApiModelProperty(value="logisticsCompanyName",name="物流公司名称")
    private String logisticsCompanyName;

    /**
     * createTime
     * 下单时间
     */
    @ApiModelProperty(value="createTime",name="下单时间")
    private Date createTime;

    /**
     * updateTime
     * 更新时间
     */
    @ApiModelProperty(value="updateTime",name="更新时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }

    public String getLogistics() {
        return logistics;
    }

    public void setLogistics(String logistics) {
        this.logistics = logistics == null ? null : logistics.trim();
    }

    public String getLogisticsNo() {
        return logisticsNo;
    }

    public void setLogisticsNo(String logisticsNo) {
        this.logisticsNo = logisticsNo == null ? null : logisticsNo.trim();
    }

    public String getLogisticsCompanyCode() {
        return logisticsCompanyCode;
    }

    public void setLogisticsCompanyCode(String logisticsCompanyCode) {
        this.logisticsCompanyCode = logisticsCompanyCode == null ? null : logisticsCompanyCode.trim();
    }

    public String getLogisticsCompanyName() {
        return logisticsCompanyName;
    }

    public void setLogisticsCompanyName(String logisticsCompanyName) {
        this.logisticsCompanyName = logisticsCompanyName == null ? null : logisticsCompanyName.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", orderNo=").append(orderNo);
        sb.append(", logistics=").append(logistics);
        sb.append(", logisticsNo=").append(logisticsNo);
        sb.append(", logisticsCompanyCode=").append(logisticsCompanyCode);
        sb.append(", logisticsCompanyName=").append(logisticsCompanyName);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}